/*
 * UsersBackingBean.java
 * 
 * Created on 2007-08-13, 00:51:07
 * 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cms.backingbeans;

import cms.ejb.UsersFacadeLocal;
import java.util.List;
import javax.ejb.EJB;

/**
 *
 * @author jawor
 */
public class UsersBackingBean {



    
    @EJB
    private UsersFacadeLocal facade; 
    
    private List all;

    public List getAll() {
       if (null==all) {
       all = facade.findAll();
       } 
        
        return all;
    }

    public void setAll(List all) {
        this.all = all;
    }
    
    public UsersBackingBean() {
    }

    
}
